<Grid MinWidth="800" MinHeight="600" Background="Black">
  <Grid.Style>
    <Style>
      <Style.Triggers>
        <EventTrigger RoutedEvent="UIScene.TransitionIn">
          <BeginStoryboard>
            <BeginStoryboard.Storyboard>
              <Storyboard>
                <SingleAnimation Storyboard.TargetName="MainPanel" Storyboard.TargetProperty="Opacity" FillBehavior="Stop" From="0.0" To="1.0" Duration="00:00:00.5" />
              </Storyboard>
            </BeginStoryboard.Storyboard>
          </BeginStoryboard>
        </EventTrigger>
        <EventTrigger RoutedEvent="UIScene.TransitionOut">
          <BeginStoryboard>
            <BeginStoryboard.Storyboard>
              <Storyboard>
                <SingleAnimation Storyboard.TargetName="MainPanel" Storyboard.TargetProperty="Opacity" To="0.0" Duration="00:00:00.5" />
              </Storyboard>
            </BeginStoryboard.Storyboard>
          </BeginStoryboard>
        </EventTrigger>
      </Style.Triggers>
    </Style>
  </Grid.Style>
  
  <Grid.Resources>
    <ResourceDictionary>
      <Style x:Key="TeamButtonStyle" TargetType="{x:Type Button}">
        <Setter Property="Opacity" Value="0.7" />
        <Setter Property="Template">
          <Setter.Value>
            <ControlTemplate TargetType="{x:Type Button}">
              <Image ImageSource="{TemplateBinding Content}" />
            </ControlTemplate>
          </Setter.Value>
        </Setter>
        
        <Style.Triggers>
          <Trigger Property="IsMouseOver" Value="true">
            <Setter Property="Opacity" Value="0.8" />
          </Trigger>
          <Trigger Property="IsPressed" Value="true">
            <Setter Property="Opacity" Value="1.0" />
          </Trigger>
          <Trigger Property="IsEnabled" Value="false">
            <Setter Property="Opacity" Value="0.2" />
          </Trigger>
        </Style.Triggers>
      </Style>
    </ResourceDictionary>
  
  </Grid.Resources>
  
  
  <Grid x:Name="MainPanel" HorizontalAlignment="Center" VerticalAlignment="Center">
    <Grid.ColumnDefinitions>
      <ColumnDefinition Width="auto" />
      <ColumnDefinition Width="auto" />
    </Grid.ColumnDefinitions>
  
    <Grid.RowDefinitions>
      <RowDefinition Height="auto" />
      <RowDefinition Height="auto" />
      <RowDefinition Height="auto" />
    </Grid.RowDefinitions>  

    <StackPanel Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" HorizontalAlignment="Center" Orientation="Horizontal">
      <RadioButton GroupName="ShipGroup" x:Name="RefitScout">Scout</RadioButton>
      <RadioButton GroupName="ShipGroup" IsChecked="true" x:Name="RefitCruiser">Cruiser</RadioButton>
      <RadioButton GroupName="ShipGroup" x:Name="RefitAssault">Assault</RadioButton>
      <RadioButton GroupName="ShipGroup" x:Name="RefitBattleship">Battleship</RadioButton>
      <RadioButton GroupName="ShipGroup" x:Name="RefitDestroyer">Destroyer</RadioButton>
      <RadioButton GroupName="ShipGroup" x:Name="RefitStarbase">Starbase</RadioButton>
    </StackPanel>

    <Button x:Name="RomTeam" Style="{StaticResource TeamButtonStyle}" Content="Media\UI\rom-logo.tga" Grid.Row="1" Grid.Column="0" />
    <Button x:Name="KliTeam" Style="{StaticResource TeamButtonStyle}" Content="Media\UI\kli-logo.tga" Grid.Row="1" Grid.Column="1" />
    <Button x:Name="FedTeam" Style="{StaticResource TeamButtonStyle}" Content="Media\UI\fed-logo.tga" Grid.Row="2" Grid.Column="0" />
    <Button x:Name="OriTeam" Style="{StaticResource TeamButtonStyle}" Content="Media\UI\ori-logo.tga" Grid.Row="2" Grid.Column="1" />
  </Grid>
  
</Grid>


